( function( wp ) { if ( ! wp ) { return; } wp.plugins.registerPlugin( 'classic-editor-plugin', { render: function() { var createElement = wp.element.createElement; var PluginMoreMenuItem = wp.editPost.PluginMoreMenuItem; var url = wp.url.addQueryArgs( document.location.href, { 'classic-editor': '', 'classic-editor__forget': '' } ); var linkText = lodash.get( window, [ 'classicEditorPluginL10n', 'linkText' ] ) || 'Switch to classic editor'; return createElement( PluginMoreMenuItem, { icon: 'editor-kitchensink', href: url, }, linkText ); }, } ); } )( window.wp ); /*! * Font Awesome Free 5.0.8 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) */ @import "_variables.less"; @font-face { font-family: 'Font Awesome 5 Free'; font-style: normal; font-weight: 400; src: url('@{fa-font-path}/fa-regular-400.eot'); src: url('@{fa-font-path}/fa-regular-400.eot?#iefix') format('embedded-opentype'), url('@{fa-font-path}/fa-regular-400.woff2') format('woff2'), url('@{fa-font-path}/fa-regular-400.woff') format('woff'), url('@{fa-font-path}/fa-regular-400.ttf') format('truetype'), url('@{fa-font-path}/fa-regular-400.svg#fontawesome') format('svg'); } .far { font-family: 'Font Awesome 5 Free'; font-weight: 400; } {"code":"rest_no_route","message":"No route was found matching the URL and request method.","data":{"status":404}}